package 匿名内部类的使用;

public class User implements IUser{
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public User() {
	}

	public User(String name) {
		this.name = name;
	}

	public void sayName() {
		System.out.println("say name:" + this.name);
	}
}
